package br.cn.evo.model;

public class Solution {
	
	public double[] arrayValues;
	public double[] arraySteps;
	
	private boolean tremPouso;//
	private double tanqueCombustivel;//
	private double remainingFuel;
	private int passageiros;//
	private double peso;//
	private double areaAsa;
	
	private double fitness;
	private int numberValues;
	private int generation;
	
	/**
	 * Construtor vazio.
	 */
	public Solution(){}
	
	/**
	 * Iniciar a popula��o inicial
	 * @param numberValues Quantidade de individuos presentes na popula��o
	 */
	public Solution(int numberValues){
		this.numberValues = numberValues;
		this.generation = 0;
		this.arrayValues = new double[numberValues];
		this.arraySteps = new double[numberValues];
	}

	public double[] getArrayValues() {
		return arrayValues;
	}

	public void setArrayValues(double[] arrayValues) {
		this.arrayValues = arrayValues;
	}

	public double[] getArraySteps() {
		return arraySteps;
	}

	public void setArraySteps(double[] arraySteps) {
		this.arraySteps = arraySteps;
	}

	public double getFitness() {
		return fitness;
	}

	public void setFitness(double fitness) {
		this.fitness = fitness;
	}

	public int getGeneration() {
		return generation;
	}

	public void setGeneration(int generation) {
		this.generation = generation;
	}

	public int getNumberValues() {
		return numberValues;
	}

	public void setNumberValues(int numberValues) {
		this.numberValues = numberValues;
	}

	public boolean isTremPouso() {
		return tremPouso;
	}

	public void setTremPouso(boolean tremPouso) {
		this.tremPouso = tremPouso;
	}

	public double getTanqueCombustivel() {
		return tanqueCombustivel;
	}

	public void setTanqueCombustivel(double tanqueCombustivel) {
		this.tanqueCombustivel = tanqueCombustivel;
	}

	public int getPassageiros() {
		return passageiros;
	}

	public void setPassageiros(int passageiros) {
		this.passageiros = passageiros;
	}

	public double getPeso() {
		return peso;
	}

	public void setPeso(double peso) {
		this.peso = peso;
	}

	public double getAreaAsa() {
		return areaAsa;
	}

	public void setAreaAsa(double areaAsa) {
		this.areaAsa = areaAsa;
	}

	public double getRemainingFuel() {
		return remainingFuel;
	}

	public void setRemainingFuel(double remainingFuel) {
		this.remainingFuel = remainingFuel;
	}

	

}